﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Generic.Contract;

namespace Generic.Data.Manager
{
    public abstract class DMGeneric<BE, FE>
        : IDataManager<BE, FE>
        where BE : BusinessEntity, new()
        where FE : FilterEntity, new()
    {
        public DMGeneric()
            : base()
        {
        }
        
        #region IDataManager<BE,FE> Members

        public virtual BE Salvar(BE entidade)
        {
            throw new NotImplementedException();
        }

        public virtual void Excluir(BE entidade)
        {
            throw new NotImplementedException();
        }

        public virtual BE ObterEntidade(int codigo)
        {
            throw new NotImplementedException();
        }

        public virtual List<BE> ObterTodos(FE filter)
        {
            throw new NotImplementedException();
        }

        #endregion
    }
}
